Thanks to phdev-design (https://github.com/timsutton/brigadier/issues/122) for making brigadier.py compatible with Python 3.

1. Install Python 3 and add it to your system’s PATH.
2. Open CMD in the brigadier-main directory.
3. Run "pip install requests" and "pip install pyinstaller" to install the required dependencies.
4. After installing the dependencies, execute "pyinstaller --onefile program.py"
5. Install the "wmic" command by running "Add-WindowsCapability -Online -Name WMIC" in PowerShell.
6. Check the "dist" folder and run brigadier.exe.